package com.jufa_3.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class PayOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    private String outTradeNo;

    private String transactionId;

    private String buyerId;

    private String body;

    private Float totalFee;

    private String tradeState;

    private LocalDateTime createTime;

    private LocalDateTime payEndTime;

    private String moreInfo;

    public PayOrder(String outTradeNo, String buyerId, String body, Float totalFee, String tradeState, LocalDateTime createTime,String moreInfo) {
        this.outTradeNo = outTradeNo;
        this.buyerId = buyerId;
        this.body = body;
        this.totalFee = totalFee;
        this.tradeState = tradeState;
        this.createTime = createTime;
        this.moreInfo = moreInfo;
    }
}
